package cn.framelife.rainbow.db.entity;

/**
 * 连接数据库所需要的参数
 * 
 * @author 潘广伟 p_3er@qq.com
 * @date 2013-12-9 下午8:00:00
 */
public class ConnectionProperty {
	private String driverTemplate;
	private String connectionName;
	private String jarURL;

	private String driverClass;
	private String connectionURL;
	private String username;
	private String password;
	
	public ConnectionProperty(){
	}

	public ConnectionProperty(String driverClass, String connectionURL,
			String username, String password) {
		this.driverClass = driverClass;
		this.connectionURL = connectionURL;
		this.username = username;
		this.password = password;
	}

	public String getDriverTemplate() {
		return driverTemplate;
	}

	public void setDriverTemplate(String driverTemplate) {
		this.driverTemplate = driverTemplate;
	}

	public String getConnectionName() {
		return connectionName;
	}

	public void setConnectionName(String connectionName) {
		this.connectionName = connectionName;
	}

	public String getJarURL() {
		return jarURL;
	}

	public void setJarURL(String jarURL) {
		this.jarURL = jarURL;
	}

	public String getDriverClass() {
		return driverClass;
	}

	public void setDriverClass(String driverClass) {
		this.driverClass = driverClass;
	}

	public String getConnectionURL() {
		return connectionURL;
	}

	public void setConnectionURL(String connectionURL) {
		this.connectionURL = connectionURL;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
